﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Models
{
    /// <summary>
    /// 用户角色
    /// </summary>
    public class UserRole
    {
        /// <summary>
        /// 主键，自增长
        /// </summary>
        [XYD.Framework.Key]
        [XYD.Framework.Identity()]
        public int id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int role_id { get; set; }
        
    }
}
 